/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Graph;

import java.util.List;

/**
 *
 * @author Andrew
 */
public class Graph {
    public List<Edge> edges;
    public List<Bag> bags;

    public Graph(List<Edge> edges, List<Bag> bags) {
        if (bags == null || edges == null)
            throw new NullPointerException();
        this.edges = edges;
        this.bags = bags;
    }

    public List<Bag> getBags() {
        return bags;
    }

    public List<Edge> getEdges() {
        return edges;
    }

    //TODO: getNodes?
    //TODO: getColoring?
}